| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- // 위젯 페이지: OBS·미리보기 iframe 한정 — 스크롤 숨김
- html, body {
- overflow: hidden;
- }
- .alert-page {
- width: 100vw;
- height: 100vh;
- display: flex;
- align-items: center;
- justify-content: center;
- background: transparent;
- container-type: inline-size;
- }
- .donation-alert {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- text-align: center;
- width: 100%;
- height: 100%;
- &.alert-show {
- opacity: 1;
- transform: translateY(0);
- }
- &__image {
- display: flex;
- justify-content: center;
- width: 100%;
- margin-bottom: 16px;
- img {
- max-width: min(200px, 100%);
- max-height: 200px;
- object-fit: contain;
- filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
- }
- }
- &__content {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- &__sender {
- display: flex;
- flex-wrap: wrap;
- align-items: center;
- justify-content: center;
- gap: 8px;
- row-gap: 4px;
- font-weight: 700;
- text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
- }
- &__name {
- font-family: var(--nickname-font-family, inherit);
- font-size: min(var(--nickname-font-size, 24px), 5cqi);
- color: var(--nickname-font-color, #FFD700);
- word-break: keep-all;
- overflow-wrap: break-word;
- }
- &__amount {
- font-family: var(--amount-font-family, inherit);
- font-size: min(var(--amount-font-size, 24px), 5cqi);
- color: var(--amount-font-color, #FF6B35);
- word-break: keep-all;
- overflow-wrap: break-word;
- }
- &__template-text {
- font-family: var(--template-font-family, inherit);
- font-size: min(var(--template-font-size, 24px), 5cqi);
- color: var(--template-font-color, #FFFFFF);
- word-break: keep-all;
- overflow-wrap: break-word;
- }
- &__message {
- font-family: var(--message-font-family, inherit);
- font-size: var(--message-font-size, 18px);
- font-weight: 500;
- color: var(--message-font-color, #FFFFFF);
- text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
- max-width: 400px;
- word-break: keep-all;
- line-height: 1.4;
- margin: 0 auto;
- }
- &__crew {
- font-size: 14px;
- color: #A0D2FF;
- margin-top: 4px;
- }
- }
- @keyframes alertFadeOut {
- from {
- opacity: 1;
- transform: scale(1);
- }
- to {
- opacity: 0;
- transform: scale(0.8);
- }
- }
|